package org.trc.network;

import java.util.ArrayList;

import com.vividsolutions.jts.geom.LineString;
import com.vividsolutions.jts.geom.MultiLineString;

public class MultiLink {// 表示完整道路或者道路的行驶方向
	public String id;
	
	public String roadID;
	public String roadName;
	public String direction; //(0:表示单行路; 1: 表示双向路的正向 ; 2: 表示双向路的逆向; 3: 表示双向综合 )
	public String startNodeID;
	public String endNodeID;
	
	public ArrayList <String> edgeIDList;
	public MultiLineString line;
	float length;
	
	public MultiLink(String roadID, String roadName, String direction, String startNodeID, String endNodeID){
		this.id = roadID + direction;
		this.roadID = roadID;
		this.roadName = roadName;
		this.direction = direction;
		this.startNodeID = startNodeID;
		this.endNodeID = endNodeID;
	}

}
